#include<stdio.h>
#include<sys/types.h>
#include<sys/stat.h>
#include<fcntl.h>
#include<unistd.h>
int main()
{
    write(1,"abs",3);
    //int fd1=open("log1.tex",O_CREAT|O_TRUNC|O_RDONLY,0666);    
    //int fd2=open("log2.tex",O_CREAT|O_TRUNC|O_RDONLY,0666);
    //int fd3=open("log3.tex",O_CREAT|O_TRUNC|O_RDONLY,0666);
    //printf("%d\n",fd1);
    //printf("%d\n",fd2);
    //printf("%d\n",fd3);
    return 0;
}

//#include <stdio.h>
//#define ONE 1<<0 	//0000 0001
//#define TWO 1<<1 	//0000 0010
//#define THREE 1<<2 	//0000 0100
//
//void func(int flags) 
//{
//	if (flags & ONE) 
//		printf("flags has ONE! ");
//	if (flags & TWO) 
//		printf("flags has TWO! ");
//	if (flags & THREE) 
//		printf("flags has THREE! ");
//	printf("\n");
//}
//int main() 
//{
//	func(ONE);
//	func(THREE);
//	func(ONE | TWO);
//	func(ONE | THREE | TWO);
//	return 0;
//}
